<?php // common.php 
$host = "127.0.0.1";
$user = "root";
$password = "password";
$database = "ocms";

$db = mysql_connect($host, $user,$password)
or die("The site database appears to be down.");
if ($db!="" and !mysql_select_db($database,$db))
die("The site database is unavailable."); 

?>


